<include file="Public:header" />
<table class="public_border">
	<tr>
		<td>ID</td>
		<td>用户名</td>
		<td>真实姓名</td>
		<td>电子邮件</td>
		<td>性别</td>
		<td>级别</td>
		<td>状态</td>
		<td>注册日期</td>
		<td>操作</td>
	</tr>
	<foreach name="arr" item="v">
	<tr>
		<td><{$v.id}></td>
		<td><{$v.adminname}></td>
		<td><{$v.realityname}></td>
		<td><{$v.email}></td>
		<if condition='$v.sex eq 0'>
		<td>女</td>
		<elseif  condition='$v.sex eq 1'/>
		<td>男</td>
		<else />
		</if>
		<if condition='$v.alevel eq 0'>
		<td>管理员</td>
		<elseif  condition='$v.alevel eq 1'/>
		<td>超级管理员</td>
		<else />
		</if>
		<if condition='$v.hair eq 0'>
		<td>正常</td>	
		<elseif  condition='$v.hair eq 1'/>
		<td style="color:red">锁定</td>
		<else />
		</if>
		<td><{$v.enroldate}></td>
		<td>
			<if condition='$v.alevel eq 0'>
			<a href="__URL__/del/id/<{$v.id}>">[删除]</a>
			<elseif  condition='$v.alevel eq 1'/>
			<a style="color:#ccc">[删除]</a>
			<else />
			</if>
			<if condition='$v.hair eq 1'>
			<a href="__URL__/unlock/id/<{$v.id}>">[解锁]</a>
			<elseif  condition='$v.hair eq 0'/>
			<a href="__URL__/lock/id/<{$v.id}>">[锁定]</a>
			<else />
			</if>
		</td>
	</tr>
	</foreach>
	<tr>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td></td>
		<td colspan='2' text="right"><{$show}><{$list}></td>		
	</tr>
</table>